package com.hsteach.dao.domain.rota;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.common.annotation.Excel;
import com.hsteach.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 值班调换对象 tb_rota_transfer
 * 
 * @author fanxquer
 * @date 2023-10-22
 */
@Data
public class RotaTransfer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 值班明细表id */
    @Excel(name = "值班明细表id")
    private Long fromDetailId;

    /** 值班明细表id */
    @Excel(name = "值班明细表id")
    private Long toDetailId;

    /** 值班人员id */
    @Excel(name = "值班人员id")
    private String fromPersonId;

    /** 原值班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "原值班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fromDate;

    /** 现值班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "现值班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date toDate;

    /** 值班人员名称 */
    @Excel(name = "值班人员名称")
    private String fromPersonName;

    /** 值班人员id */
    @Excel(name = "值班人员id")
    private String toPersonId;

    /** 值班人员名称 */
    @Excel(name = "值班人员名称")
    private String toPersonName;

    /** 调班说明 */
    @Excel(name = "调班说明")
    private String transferContent;

    /** 审核说明 */
    @Excel(name = "审核说明")
    private String reviewContent;

    /** 状态，0待审核，1通过，-1拒绝 */
    @Excel(name = "状态，0待审核，1通过，-1拒绝")
    private Integer transferStatus;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createByName;

    /** 机构号，数据隔离 */
    @Excel(name = "机构号，数据隔离")
    private String orgCode;

    private List<Integer> searchStatus;

}
